using MediatR;
using UniversalAdmin.Domain.Entities.App;
using UniversalAdmin.Domain.Common;

namespace UniversalAdmin.Domain.DomainEvents;

public class SystemConfigUpdatedEvent : IDomainEvent, INotification
{
    public AppSystemConfig Config { get; }
    public DateTime OccurredOn { get; }
    public SystemConfigUpdatedEvent(AppSystemConfig config)
    {
        Config = config;
        OccurredOn = DateTime.UtcNow;
    }
} 